/**
 * 提取 element-plus 的公共类型
 */
import { ElForm } from 'element-plus'
import { FormItemRule } from 'element-plus/es/components/form/src/form.type'

/**
 * el-form ref类型
 */
export type IElForm = InstanceType<typeof ElForm>

/**
 * el-form rules类型
 */
export type IElFormRules = Record<string, FormItemRule[]>
